package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;



@Data
@AllArgsConstructor
@NoArgsConstructor
public class FamilyMemberElder {

    @TableField(value = "老人姓名")
    private String name;
    @TableField(value = "身份证号")
    private String idCard;
    @TableField(value = "昵称")
    private String remark;

    private Long elderId;
    private Long createBy;
    private Long updateBy;

    private Long familyMemberId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}